/*
 * @Description: 
 * @Author: mxy
 * @Date: 2022-11-24 20:46:08
 * @LastEditors: mxy
 * @LastEditTime: 2022-11-24 20:48:03
 */
import * as echarts from 'echarts'
const mycharts = echarts.init(document.querySelector('div'))
const option = {
    xAxis: {
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            data: [150, 230, 224, 218, 135, 147, 260],
            type: 'line'
        }
    ]
}
mycharts.setOption(option)
